package com.xiaomaoguai.observer;

/**
 * @Description :
 * @FileName: OrderMan1.java
 * @Author :WeiHui.Zhang
 * @Data : 2015年6月15日 下午1:35:04
 * @Version:V1.00
 */
public class OrderMan1 implements IOrderMan {

    private String name;

    public OrderMan1() {
        super();
    }

    public OrderMan1(String name) {
        super();
        this.name = name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public void hasNewsPaper() {
        System.out.println(name + " 看报纸   ");
    }

}
